3.250 \(\int \frac{\sqrt{x} \left (A+B x^2\right )}{\sqrt{b x^2+c x^4}} \, dx\)

Optimal. Leaf size=130 \[ \frac{2 B \sqrt{b x^2+c x^4}}{3 c \sqrt{x}}-\frac{x \left (\sqrt{b}+\sqrt{c} x\right ) \sqrt{\frac{b+c x^2}{\left (\sqrt{b}+\sqrt{c} x\right )^2}} (b B-3 A c) F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{c} \sqrt{x}}{\sqrt [4]{b}}\right )|\frac{1}{2}\right )}{3 \sqrt [4]{b} c^{5/4} \sqrt{b x^2+c x^4}} \]

[Out]

(2*B*Sqrt[b*x^2 + c*x^4])/(3*c*Sqrt[x]) - ((b*B - 3*A*c)*x*(Sqrt[b] + Sqrt[c]*x)
*Sqrt[(b + c*x^2)/(Sqrt[b] + Sqrt[c]*x)^2]*EllipticF[2*ArcTan[(c^(1/4)*Sqrt[x])/
b^(1/4)], 1/2])/(3*b^(1/4)*c^(5/4)*Sqrt[b*x^2 + c*x^4])

_______________________________________________________________________________________

Rubi [A]  time = 0.36065, antiderivative size = 130, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 28, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.143 \[ \frac{2 B \sqrt{b x^2+c x^4}}{3 c \sqrt{x}}-\frac{x \left (\sqrt{b}+\sqrt{c} x\right ) \sqrt{\frac{b+c x^2}{\left (\sqrt{b}+\sqrt{c} x\right )^2}} (b B-3 A c) F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{c} \sqrt{x}}{\sqrt [4]{b}}\right )|\frac{1}{2}\right )}{3 \sqrt [4]{b} c^{5/4} \sqrt{b x^2+c x^4}} \]

Antiderivative was successfully verified.

[In]  Int[(Sqrt[x]*(A + B*x^2))/Sqrt[b*x^2 + c*x^4],x]

[Out]

(2*B*Sqrt[b*x^2 + c*x^4])/(3*c*Sqrt[x]) - ((b*B - 3*A*c)*x*(Sqrt[b] + Sqrt[c]*x)
*Sqrt[(b + c*x^2)/(Sqrt[b] + Sqrt[c]*x)^2]*EllipticF[2*ArcTan[(c^(1/4)*Sqrt[x])/
b^(1/4)], 1/2])/(3*b^(1/4)*c^(5/4)*Sqrt[b*x^2 + c*x^4])

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 27.8336, size = 124, normalized size = 0.95 \[ \frac{2 B \sqrt{b x^{2} + c x^{4}}}{3 c \sqrt{x}} + \frac{\sqrt{\frac{b + c x^{2}}{\left (\sqrt{b} + \sqrt{c} x\right )^{2}}} \left (\sqrt{b} + \sqrt{c} x\right ) \left (3 A c - B b\right ) \sqrt{b x^{2} + c x^{4}} F\left (2 \operatorname{atan}{\left (\frac{\sqrt [4]{c} \sqrt{x}}{\sqrt [4]{b}} \right )}\middle | \frac{1}{2}\right )}{3 \sqrt [4]{b} c^{\frac{5}{4}} x \left (b + c x^{2}\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((B*x**2+A)*x**(1/2)/(c*x**4+b*x**2)**(1/2),x)

[Out]

2*B*sqrt(b*x**2 + c*x**4)/(3*c*sqrt(x)) + sqrt((b + c*x**2)/(sqrt(b) + sqrt(c)*x
)**2)*(sqrt(b) + sqrt(c)*x)*(3*A*c - B*b)*sqrt(b*x**2 + c*x**4)*elliptic_f(2*ata
n(c**(1/4)*sqrt(x)/b**(1/4)), 1/2)/(3*b**(1/4)*c**(5/4)*x*(b + c*x**2))

_______________________________________________________________________________________

Mathematica [C]  time = 0.153272, size = 134, normalized size = 1.03 \[ \frac{2 B x^{3/2} \left (b+c x^2\right )}{3 c \sqrt{x^2 \left (b+c x^2\right )}}-\frac{2 i x^2 \sqrt{\frac{b}{c x^2}+1} (b B-3 A c) F\left (\left .i \sinh ^{-1}\left (\frac{\sqrt{\frac{i \sqrt{b}}{\sqrt{c}}}}{\sqrt{x}}\right )\right |-1\right )}{3 c \sqrt{\frac{i \sqrt{b}}{\sqrt{c}}} \sqrt{x^2 \left (b+c x^2\right )}} \]

Antiderivative was successfully verified.

[In]  Integrate[(Sqrt[x]*(A + B*x^2))/Sqrt[b*x^2 + c*x^4],x]

[Out]

(2*B*x^(3/2)*(b + c*x^2))/(3*c*Sqrt[x^2*(b + c*x^2)]) - (((2*I)/3)*(b*B - 3*A*c)
*Sqrt[1 + b/(c*x^2)]*x^2*EllipticF[I*ArcSinh[Sqrt[(I*Sqrt[b])/Sqrt[c]]/Sqrt[x]],
 -1])/(Sqrt[(I*Sqrt[b])/Sqrt[c]]*c*Sqrt[x^2*(b + c*x^2)])

_______________________________________________________________________________________

Maple [A]  time = 0.024, size = 216, normalized size = 1.7 \[{\frac{1}{3\,{c}^{2}}\sqrt{x} \left ( 3\,A\sqrt{-bc}\sqrt{{\frac{cx+\sqrt{-bc}}{\sqrt{-bc}}}}\sqrt{2}\sqrt{{\frac{-cx+\sqrt{-bc}}{\sqrt{-bc}}}}\sqrt{-{\frac{cx}{\sqrt{-bc}}}}{\it EllipticF} \left ( \sqrt{{\frac{cx+\sqrt{-bc}}{\sqrt{-bc}}}},1/2\,\sqrt{2} \right ) c-B\sqrt{-bc}\sqrt{{1 \left ( cx+\sqrt{-bc} \right ){\frac{1}{\sqrt{-bc}}}}}\sqrt{2}\sqrt{{1 \left ( -cx+\sqrt{-bc} \right ){\frac{1}{\sqrt{-bc}}}}}\sqrt{-{cx{\frac{1}{\sqrt{-bc}}}}}{\it EllipticF} \left ( \sqrt{{1 \left ( cx+\sqrt{-bc} \right ){\frac{1}{\sqrt{-bc}}}}},{\frac{\sqrt{2}}{2}} \right ) b+2\,B{c}^{2}{x}^{3}+2\,Bxbc \right ){\frac{1}{\sqrt{c{x}^{4}+b{x}^{2}}}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((B*x^2+A)*x^(1/2)/(c*x^4+b*x^2)^(1/2),x)

[Out]

1/3/(c*x^4+b*x^2)^(1/2)*x^(1/2)*(3*A*(-b*c)^(1/2)*((c*x+(-b*c)^(1/2))/(-b*c)^(1/
2))^(1/2)*2^(1/2)*((-c*x+(-b*c)^(1/2))/(-b*c)^(1/2))^(1/2)*(-x*c/(-b*c)^(1/2))^(
1/2)*EllipticF(((c*x+(-b*c)^(1/2))/(-b*c)^(1/2))^(1/2),1/2*2^(1/2))*c-B*(-b*c)^(
1/2)*((c*x+(-b*c)^(1/2))/(-b*c)^(1/2))^(1/2)*2^(1/2)*((-c*x+(-b*c)^(1/2))/(-b*c)
^(1/2))^(1/2)*(-x*c/(-b*c)^(1/2))^(1/2)*EllipticF(((c*x+(-b*c)^(1/2))/(-b*c)^(1/
2))^(1/2),1/2*2^(1/2))*b+2*B*c^2*x^3+2*B*x*b*c)/c^2

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (B x^{2} + A\right )} \sqrt{x}}{\sqrt{c x^{4} + b x^{2}}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((B*x^2 + A)*sqrt(x)/sqrt(c*x^4 + b*x^2),x, algorithm="maxima")

[Out]

integrate((B*x^2 + A)*sqrt(x)/sqrt(c*x^4 + b*x^2), x)

_______________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \[{\rm integral}\left (\frac{{\left (B x^{2} + A\right )} \sqrt{x}}{\sqrt{c x^{4} + b x^{2}}}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((B*x^2 + A)*sqrt(x)/sqrt(c*x^4 + b*x^2),x, algorithm="fricas")

[Out]

integral((B*x^2 + A)*sqrt(x)/sqrt(c*x^4 + b*x^2), x)

_______________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{\sqrt{x} \left (A + B x^{2}\right )}{\sqrt{x^{2} \left (b + c x^{2}\right )}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((B*x**2+A)*x**(1/2)/(c*x**4+b*x**2)**(1/2),x)

[Out]

Integral(sqrt(x)*(A + B*x**2)/sqrt(x**2*(b + c*x**2)), x)

_______________________________________________________________________________________

GIAC/XCAS [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (B x^{2} + A\right )} \sqrt{x}}{\sqrt{c x^{4} + b x^{2}}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((B*x^2 + A)*sqrt(x)/sqrt(c*x^4 + b*x^2),x, algorithm="giac")

[Out]

integrate((B*x^2 + A)*sqrt(x)/sqrt(c*x^4 + b*x^2), x)